/*
============================================================================
Name		: FriendView.h
Author	  : chen penghui
Version	 : 1.0
Copyright   : Your copyright notice
Description : CFriendView declaration
============================================================================
*/

#ifndef FriendView_H
#define FriendView_H

#include "RtXmlView.h"
#include "RtBase.h"
#include "RtXmlApp.h"
#include "RtWeiboMainView.h"
#include "RtWeiboEngine.h"
#include "RtView.h"

class CFriendView : public CRtXmlView
{
	DECLARE_CLASS(CFriendView);

public:
	CFriendView();
	void ConstructL();
	~CFriendView();
    CRtWeiboEngine* GetWeiboEngine();

	DEFINE_ACTION(CFriendView,Back);
	DEFINE_ACTION(CFriendView,Exit);
    DEFINE_ACTION(CFriendView,GetFriendWeibo);
private: 
	//herit from CRtView
	virtual void DoActivating();
	virtual void DoDeactivate();
	//virtual void DynInitMenuData(CRtMenuData* pMenuData);
	//virtual bool HandleMessage(CRtMessage* pMsg);

	virtual void Draw(CRtGc& gc,const CRtRect& rect);
	 CRtWeiboEngine* m_fWeiboEngine;
    virtual bool HandleMessage(CRtMessage* pMsg);
};

#endif // DemoView_H
